package com.lanou3g.hw0408;

/**
 * Created by dllo on 18/4/8.
 */
public class Monitor {
    String brand;
    String color;
    String way;

    public Monitor() {
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public String getWay() {
        return way;
    }

    public void setWay(String way) {
        this.way = way;
    }

    public Monitor(String brand, String color, String way) {
        this.brand = brand;
        this.color = color;
        this.way = way;


    }

    public void showing() {
        System.out.println(brand + "品牌的" + color + "的" + way + "工作方式");
    }

}
